{{--@extends('layouts.layout')--}}
{{--@section('content')--}}

    <!-- Demo page code -->
<!doctype html>
<html lang="en"><head>
    <meta charset="utf-8">
    <title>Bootstrap Admin</title>
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="">

    <link rel="shortcut icon" href="{{asset('images/favicon.ico')}}" type="image/x-icon" />

    <!--  <link href='http://fonts.useso.com/css?family=Open+Sans:400,700' rel='stylesheet' type='text/css'> -->
    <link rel="stylesheet" type="text/css" href="{{ URL::asset('lib/bootstrap/css/bootstrap.css')}}">
    <link rel="stylesheet" href="{{ URL::asset('lib/font-awesome/css/font-awesome.css')}}">

    <script src="{{ URL::asset('lib/jquery-1.11.1.min.js')}}" type="text/javascript"></script>

    <script src="{{ URL::asset('lib/jQuery-Knob/js/jquery.knob.js')}}" type="text/javascript"></script>
    <script src="{{ URL::asset('lib/bootstrap/js/bootstrap.js')}}"></script>

    {{--layer引入--}}

    <script src="{{URL::asset('js/layer/layer.js')}}"></script>

    <script type="text/javascript">
        $(function() {
            $(".knob").knob();
        });
    </script>

    <link rel="stylesheet" type="text/css" href="{{ URL::asset('stylesheets/theme.css')}}">
    <link rel="stylesheet" type="text/css" href="{{ URL::asset('stylesheets/premium.css')}}">

    <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- Le fav and touch icons -->
    <link rel="shortcut icon" href="../assets/ico/favicon.ico">
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="../assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="../assets/ico/apple-touch-icon-114-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="../assets/ico/apple-touch-icon-72-precomposed.png">
    <link rel="apple-touch-icon-precomposed" href="../assets/ico/apple-touch-icon-57-precomposed.png">


    <!--[if lt IE 7 ]> <body class="ie ie6"> <![endif]-->
    <!--[if IE 7 ]> <body class="ie ie7 "> <![endif]-->
    <!--[if IE 8 ]> <body class="ie ie8 "> <![endif]-->
    <!--[if IE 9 ]> <body class="ie ie9 "> <![endif]-->
    <!--[if (gt IE 9)|!(IE)]><!-->

    <!--<![endif]-->

    <script type="text/javascript">
        $(function() {
            var match = document.cookie.match(new RegExp('color=([^;]+)'));
            if(match) var color = match[1];
            if(color) {
                $('body').removeClass(function (index, css) {
                    return (css.match (/\btheme-\S+/g) || []).join(' ')
                })
                $('body').addClass('theme-' + color);
            }

            $('[data-popover="true"]').popover({html: true});
            
        });
    </script>
    <style type="text/css">
        #line-chart {
            height:300px;
            width:800px;
            margin: 0px auto;
            margin-top: 1em;
        }
        .navbar-default .navbar-brand, .navbar-default .navbar-brand:hover { 
            color: #fff;
        }
    </style>

    <script type="text/javascript">
        $(function() {
            var uls = $('.sidebar-nav > ul > *').clone();
            uls.addClass('visible-xs');
            $('#main-menu').append(uls.clone());
        });
    </script>
</head>
<body class=" theme-blue">


    <div class="navbar navbar-default" role="navigation">
        <div class="navbar-header">
            <img style="float: left;width: 40px; margin-top: 4px" src="{{ URL::asset('images/logo.png')}}">
            <a href="#"><span class="navbar-brand">人才联盟平台</span></a>

        <div class="navbar-collapse collapse" style="height: 1px;">

        </div>
      </div>
    </div>
    


        <div class="dialog">
    <div class="panel panel-default">
        <p class="panel-heading no-collapse">后台登录</p>
        <div class="panel-body">
            <form action="{{url('login')}}" method="post">
                {{csrf_field()}}
                <div class="form-group">
                    <label>用户名</label>
                    <input type="text" class="form-control span12" name="userName">
                </div>
                <div class="form-group">
                <label>密码</label>
                    <input type="password" class="form-controlspan12 form-control"  name="password">
                </div>
                <button  type="submit" class="btn btn-primary pull-right">Sign in</button>
                {{--<label class="remember-me"><input type="checkbox"> Remember me</label>--}}
                <div class="clearfix"></div>
            </form>

        </div>

        @if(count($errors)>0)
            <div class="mark" style="color: darkred">
                <ul>
                    @if(is_object($errors))
                        @foreach ($errors->all() as $error)
                            <li>{{ $error }}</li>
                        @endforeach
                    @else
                        {{$errors}}
                    @endif
                </ul>
            </div>
        @endif
    </div>

</div>



    <script type="text/javascript">
        $("[rel=tooltip]").tooltip();
        $(function() {
            $('.demo-cancel-click').click(function(){return false;});
        });
    </script>
</body>
</html>
    

{{--@endsection--}}
